﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table>
                <tr>
                    <td>Wcf Service Access:</td>
                    <td style="color: red"><%=WcfserviceAccess %></td>
                </tr>
                <tr>
                    <td>Dosya İndir</td>
                    <td style="color: red">
                        <input type="button" value="Download" onclick="DownloadFile();" /></td>
                </tr>
                <tr>
                    <td>Server Name:</td>
                    <td style="color: red"><%=Server.MachineName %></td>
                </tr>
                <tr>
                    <td>Path:</td>
                    <td style="color: red"><%=Server.MapPath("/Content/img/deneme.png") %></td>
                </tr>
                <tr>
                    <td>Diğer Sayfa</td>
                    <td style="color: red">
                        <asp:Button ID="btn" runat="server" Text="Git" OnClick="btn_Click" /></td>
                </tr>
            </table>
        </div>
    </form>
    <asp:Literal ID="ltrFrame" runat="server"></asp:Literal>
    <script type="text/javascript">
        function DownloadFile() {
            document.getElementById("downloader").src = "<%=EncryptedUrl%>";
        }
    </script>
</body>
</html>
